import { request }  from '@/axios/request'

export const LoginSystem = (parmas) => {
    return request({
        url: '/Authorize/SignIn',
        method: 'post',
        data: parmas
    })
}

export const GetLoginStatus = () => {
    return request({
        url: '/Authorize/LoginStatus',
        method: 'get'
    })
}

export const LogoutSystem = (parmas) => {
    return request({
        url: '/Authorize/SignOut',
        method: 'post',
        data: { "username": parmas.username,"password": parmas.password }
    })
}

export const CheckLoginStatus = () => {
    return request({
        url: '/Authorize/SignStatusa',
        method: 'get'
    })
}